import { View, Text, StyleSheet } from 'react-native'
import React from 'react'
import gss from './globalStyle'
let ss=StyleSheet.create({
  box2:{
    backgroundColor:'green',
    marginVertical:20,
    marginHorizontal:40

  }
})
export default function App() {
 
  return (
    <View>
      <View style={ {backgroundColor:'red'} }>
        <Text>行内样式</Text>
      </View>
      <View style={ss.box2}>
        <Text>内部样式</Text>
      </View>
      <View style={gss.box3}>
        <Text>内部样式</Text>
      </View>
    </View>
  )
}